package com.incar.chuxing.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Michael Pi on 2016/11/4.
 */
public class LoginBean {

    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"userModel":{"id":135,"name":"App测试","picture":77174,"status":20,"isEnterprise":2,"token":"1pIzgN3n7FI.","phoneNum":"14520381006","identityStatus":13,"licenseStatus":13,"depositStatus":1,"numerical":0,"carbonEmission":null,"identityStasus":13},"isNewUser":0}
     */

    @SerializedName("status")
    private int status;
    @SerializedName("message")
    private String message;
    @SerializedName("debug")
    private Object debug;
    @SerializedName("attachment")
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * userModel : {"id":135,"name":"App测试","picture":77174,"status":20,"isEnterprise":2,"token":"1pIzgN3n7FI.","phoneNum":"14520381006","identityStatus":13,"licenseStatus":13,"depositStatus":1,"numerical":0,"carbonEmission":null,"identityStasus":13}
         * isNewUser : 0
         */

        @SerializedName("userModel")
        private UserModelBean userModel;
        @SerializedName("isNewUser")
        private int isNewUser;

        public UserModelBean getUserModel() {
            return userModel;
        }

        public void setUserModel(UserModelBean userModel) {
            this.userModel = userModel;
        }

        public int getIsNewUser() {
            return isNewUser;
        }

        public void setIsNewUser(int isNewUser) {
            this.isNewUser = isNewUser;
        }

        public static class UserModelBean {
            /**
             * id : 135
             * name : App测试
             * picture : 77174
             * status : 20
             * isEnterprise : 2
             * token : 1pIzgN3n7FI.
             * phoneNum : 14520381006
             * identityStatus : 13
             * licenseStatus : 13
             * depositStatus : 1
             * numerical : 0
             * carbonEmission : null
             * identityStasus : 13
             */

            @SerializedName("id")
            private String id;
            @SerializedName("name")
            private String name;
            @SerializedName("picture")
            private String picture;
            @SerializedName("status")
            private int status;
            @SerializedName("isEnterprise")
            private int isEnterprise;
            @SerializedName("token")
            private String token;
            @SerializedName("phoneNum")
            private String phoneNum;
            @SerializedName("identityStatus")
            private int identityStatus;
            @SerializedName("licenseStatus")
            private int licenseStatus;
            @SerializedName("depositStatus")
            private int depositStatus;
            @SerializedName("numerical")
            private int numerical;
            @SerializedName("carbonEmission")
            private Object carbonEmission;
            @SerializedName("identityStasus")
            private int identityStasus;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getIsEnterprise() {
                return isEnterprise;
            }

            public void setIsEnterprise(int isEnterprise) {
                this.isEnterprise = isEnterprise;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public String getPhoneNum() {
                return phoneNum;
            }

            public void setPhoneNum(String phoneNum) {
                this.phoneNum = phoneNum;
            }

            public int getIdentityStatus() {
                return identityStatus;
            }

            public void setIdentityStatus(int identityStatus) {
                this.identityStatus = identityStatus;
            }

            public int getLicenseStatus() {
                return licenseStatus;
            }

            public void setLicenseStatus(int licenseStatus) {
                this.licenseStatus = licenseStatus;
            }

            public int getDepositStatus() {
                return depositStatus;
            }

            public void setDepositStatus(int depositStatus) {
                this.depositStatus = depositStatus;
            }

            public int getNumerical() {
                return numerical;
            }

            public void setNumerical(int numerical) {
                this.numerical = numerical;
            }

            public Object getCarbonEmission() {
                return carbonEmission;
            }

            public void setCarbonEmission(Object carbonEmission) {
                this.carbonEmission = carbonEmission;
            }

            public int getIdentityStasus() {
                return identityStasus;
            }

            public void setIdentityStasus(int identityStasus) {
                this.identityStasus = identityStasus;
            }
        }
    }
}
